package cn._2dland.sakushi;

public class Option {
	private String label = null;
	private double weight = 0;

	public Option(String label, double weight) {
		super();
		this.label = label;
		this.weight = weight;
	}

	public String getLabel() {
		return label;
	}

	public double getWeight() {
		return weight;
	}
	
	public String toString() {
		StringBuffer buf = new StringBuffer();
		buf.append(label).append("(").append(weight).append(")");
		return buf.toString();
	}
}
